/**
 * 
 */
package denaris.core.controller;

import denaris.midlet.GameScreen;

/**
 * @author stkl23
 *
 */
public class StaticExplosionController extends ExplosionController {
	public StaticExplosionController(int x, int y) {
		super(x, y);
	}

	public boolean advance() {
		boolean result = super.advance();
		
		controllable.move(-GameScreen.SCROLL_SPEED, 0);
		if (controllable.getX() < -20) {
			result = false;
		}
		
		return result;
	}
}